﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace ITSM.Model.Entity
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("RYD_DemandList")]
    public partial class RYD_DemandList
    {
#pragma warning disable CS8618 // 在退出构造函数时，不可为 null 的字段必须包含非 null 值。请考虑声明为可以为 null。
        public RYD_DemandList()
        {


        }
        /// <summary>
        /// Desc:订单id（Guid唯一ID）
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true)]
        public string RYD_Id { get; set; }

        /// <summary>
        /// Desc:公司编号
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string RYD_Company { get; set; }

        /// <summary>
        /// Desc:订单号，自增列，从100000开始自增
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsIdentity = true)]
        public int RYD_DemandId { get; set; }

        /// <summary>
        /// Desc:用户编号
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string RYD_UserId { get; set; }

        /// <summary>
        /// Desc:事件等级
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? RYD_Level { get; set; }

        /// <summary>
        /// Desc:订单状态(撤销：-1，回退：-2)
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? RYD_State { get; set; }

        /// <summary>
        /// Desc:订单类别编号
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? RYD_TypeId { get; set; }

        /// <summary>
        /// Desc:IT人员Id编号
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string RYD_ItId { get; set; }

        /// <summary>
        /// Desc:转单人员id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string RYD_ToItId { get; set; }

        /// <summary>
        /// Desc:用户需求发起时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? RYD_UserStartTime { get; set; }

        /// <summary>
        /// Desc:解决人员接单时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? RYD_ItStartTime { get; set; }

        /// <summary>
        /// Desc:解决人员完成需求时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? RYD_ItEndTime { get; set; }

        /// <summary>
        /// Desc:用户确认完成时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? RYD_UserEndTime { get; set; }

        /// <summary>
        /// Desc:用户需求详情
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string RYD_DemandDetails { get; set; }

        /// <summary>
        /// Desc:附件列表，用|隔开
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string RYD_Files { get; set; }

        /// <summary>
        /// Desc:用户名称
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string RYD_UserName { get; set; }

        /// <summary>
        /// Desc:用户联系方式
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string RYD_UserPhone { get; set; }

        /// <summary>
        /// Desc:目标地址
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string RYD_UserAddress { get; set; }

        /// <summary>
        /// Desc:用户IP地址
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string RYD_UserIp { get; set; }

        /// <summary>
        /// Desc:问题原因
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string RYD_Reason { get; set; }

        /// <summary>
        /// Desc:解决方案
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string RYD_Solution { get; set; }

        /// <summary>
        /// Desc:用户评价星级
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? RYD_Star { get; set; }

        /// <summary>
        /// Desc:用户评价内容
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string RYD_Evaluate { get; set; }

        /// <summary>
        /// Desc:知识库Id编号
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string RYD_KBId { get; set; }

        /// <summary>
        /// Desc:回退原因
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string RYD_Fallback { get; set; }
        /// <summary>
        /// Desc:创建日期
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? RYD_CreateTime { get; set; }

        /// <summary>
        /// Desc:创建用户ID
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string RYD_CreateBy { get; set; }

        /// <summary>
        /// Desc:修改日期
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? RYD_ModifyTime { get; set; }

        /// <summary>
        /// Desc:修改用户ID
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string RYD_ModifyBy { get; set; }

    }
}
